<div class="hbox hbox-auto-xs hbox-auto-sm">
	<div class="col" ng-controller="UpdatePwdController">
		<div
			style="background: url(images/c0.jpg) center center; background-size: cover">
			<div class="wrapper-lg bg-white-opacity">
				<div class="row m-t">
					<div class="col-sm-7">
						<a href class="thumb-lg pull-left m-r"> <img
							src="images/a0.jpg" class="img-circle">
						</a>
						<div class="clear m-b">
							<div class="m-b m-t-sm">
								<span class="h3 text-black">{{currUser.realName}}</span> <small
									class="m-l">{{currUser.hosp_Cn_Name}}</small>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="padder">
			<div class="b-info m-b padder-v">
				<div class="row">
					<div class="col-sm-4 text-center">
						<h1> <span translate="header.navbar.updatepwd">Update Password</span></h1>
					</div>
					<div class="col-sm-4">
					<form name="form" class="form-validation">
						<div class="text-danger text-center m-b" ng-show="updatePwdError">
							{{updatePwdError}}
						</div>
						<div class="form-group">
							<label>{{ 'user.passwordOld' | translate }}</label> <input type="password"
								class="form-control" ng-model="user.oldPassword" placeholder="{{ 'user.passwordOld' | translate }}" required>
						</div>
						<div class="form-group">
							<label>{{ 'user.passwordNew' | translate }}</label> <input type="password" name="newPassword"
								class="form-control" ng-model="user.newPassword" placeholder="{{ 'user.passwordNew' | translate }}" required>
						</div>
						<div class="form-group">
							<label>{{ 'user.passwordConfirm' | translate }}</label> <input type="password" name="confirmPassword"
								class="form-control" ng-model="user.confirmPassword" placeholder="{{ 'user.passwordConfirm' | translate }}" required
								ui-validate=" '$value==user.newPassword' " ui-validate-watch=" 'user.newPassword' ">
							<span ng-show='form.confirmPassword.$error.validator'>{{ 'user.passwordMatch' | translate }}</span>
						</div>
						<div class="text-danger text-center m-b">
							<button type="submit" class="btn btn-primary text-center"
								ng-click="updatePwd()" ng-disabled='form.$invalid'>
								<span class="font-bold" translate="common.ok">OK</span>
							</button>
						</div>
					</form>
					</div>
					<div class="col-sm-4"></div>
				</div>
			</div>
		</div>
	</div>
</div>